const readFile = require('fs/promises')

const file = process.argv[2] ?? __filename

async function main() {
  const data = await readFile(file, 'utf8')
  console.log(data);
}

main()